.redactor_box {
	position: relative;
	overflow: visible;
	border: 1px solid #ddd;
	background-color: #fff;
}

body .redactor_air {
	position: absolute;
	z-index: 2;
}

/*
	Fullscreen
*/
body .redactor_box_fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    overflow: hidden;
    width: 100%;
}

.redactor_box iframe {
	display: block;
	margin: 0;
	padding: 0;
}

.redactor-link-tooltip {
	position: absolute;
	z-index: 3000;
	padding: 10px;
	line-height: 1;
	display: inline-block;
	background-color: #000;
	color: #555 !important;
}
.redactor-link-tooltip,
.redactor-link-tooltip a {
	font-size: 12px;
	font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
}
.redactor-link-tooltip a {
	color: #ccc;
	margin: 0 5px;
	text-decoration: none;
}
.redactor-link-tooltip a:hover {
	color: #fff;
}

.redactor_box textarea, .redactor_box textarea:focus {
	position: relative;
	z-index: 1004;
	display: block;
	overflow: auto;
	margin: 0;
	padding: 0;
	width: 100%;
	outline: none;
	outline: none;
	border: none;
	background-color: #222;
	box-shadow: none;
	color: #ccc;
	font-size: 13px;
	font-family: Menlo, Monaco, monospace, sans-serif;
	resize: none;
}

.redactor_editor,
.redactor_editor:focus,
.redactor_editor div,
.redactor_editor p,
.redactor_editor ul,
.redactor_editor ol,
.redactor_editor table,
.redactor_editor dl,
.redactor_editor blockquote,
.redactor_editor pre,
.redactor_editor h1,
.redactor_editor h2,
.redactor_editor h3,
.redactor_editor h4,
.redactor_editor h5,
.redactor_editor h6 {
	font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
}

.redactor_editor code,
.redactor_editor pre {
	font-family: Menlo, Monaco, monospace, sans-serif !important;
}

.redactor_editor,
.redactor_editor:focus,
.redactor_editor div,
.redactor_editor p,
.redactor_editor ul,
.redactor_editor ol,
.redactor_editor table,
.redactor_editor dl,
.redactor_editor blockquote,
.redactor_editor pre {
	font-size: 15px;
	line-height: 1.5rem;
}

.redactor_editor,
.redactor_editor:focus {
	position: relative;
	overflow: auto;
	margin: 0 !important;
	padding: 10px;
	padding-bottom: 5px;
	outline: none;
	background: none;
	background: #fff !important;
	box-shadow: none !important;
	white-space: normal;
}
.redactor_editor a {
	color: #15c !important;
	text-decoration: underline !important;
}

.redactor_editor .redactor_placeholder {
	color: #999 !important;
	display: block !important;
	margin-bottom: 10px !important;
}

.redactor_editor object,
.redactor_editor embed,
.redactor_editor video,
.redactor_editor img {
	max-width: 100%;
	width: auto;
}
.redactor_editor video,
.redactor_editor img {
	height: auto;
}

.redactor_editor div,
.redactor_editor p,
.redactor_editor ul,
.redactor_editor ol,
.redactor_editor table,
.redactor_editor dl,
.redactor_editor blockquote,
.redactor_editor pre {
	margin: 0;
	margin-bottom: 10px !important;
	border: none;
	background: none !important;
	box-shadow: none !important;
}
.redactor_editor iframe,
.redactor_editor object,
.redactor_editor hr {
	margin-bottom: 15px !important;
}
.redactor_editor blockquote {
	margin-left: 3em !important;
	color: #777;
	font-style: italic !important;
}
.redactor_editor ul,
.redactor_editor ol {
	padding-left: 2em !important;
}
.redactor_editor ul ul,
.redactor_editor ol ol,
.redactor_editor ul ol,
.redactor_editor ol ul {
	margin: 2px !important;
	padding: 0 !important;
	padding-left: 2em !important;
	border: none;
}
.redactor_editor dl dt { font-weight: bold; }
.redactor_editor dd { margin-left: 1em;}

.redactor_editor table {
	border-collapse: collapse;
	font-size: 1em !important;
}
.redactor_editor table td {
	padding: 5px !important;
	border: 1px solid #ddd;
	vertical-align: top;
}
.redactor_editor table thead td {
	border-bottom: 2px solid #000 !important;
	font-weight: bold !important;
}
.redactor_editor code {
	background-color: #d8d7d7 !important;
}
.redactor_editor pre {
	overflow: auto;
	padding: 1em !important;
	border: 1px solid #ddd !important;
	border-radius: 3px !important;
	background: #f8f8f8 !important;
	white-space: pre;
	font-size: 90% !important;
}
.redactor_editor hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
}

.redactor_editor h1,
.redactor_editor h2,
.redactor_editor h3,
.redactor_editor h4,
.redactor_editor h5,
.redactor_editor h6 {
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: 0;
	padding: 0 !important;
	background: none;
	color: #000;
	font-weight: bold;
}

.redactor_editor h1 {
	margin-bottom: 10px;
	font-size: 36px !important;
	line-height: 40px !important;
}
.redactor_editor h2 {
	margin-bottom: 10px;
	font-size: 30px !important;
	line-height: 38px !important;
}
.redactor_editor h3 {
	margin-bottom: 10px;
	font-size: 24px !important;
	line-height: 30px;
}
.redactor_editor h4 {
	margin-bottom: 10px;
	font-size: 18px !important;
	line-height: 24px !important;
}
.redactor_editor h5 {
	margin-bottom: 10px;
	font-size: 1em !important;
}

.redactor_editor.redactor_editor_wym {
	padding: 10px 7px 0 7px !important;
	background: #f6f6f6 !important;
}
.redactor_editor_wym div,
.redactor_editor_wym p,
.redactor_editor_wym ul,
.redactor_editor_wym ol,
.redactor_editor_wym table,
.redactor_editor_wym dl,
.redactor_editor_wym pre,
.redactor_editor_wym h1,
.redactor_editor_wym h2,
.redactor_editor_wym h3,
.redactor_editor_wym h4,
.redactor_editor_wym h5,
.redactor_editor_wym h6,
.redactor_editor_wym blockquote {
	margin: 0 0 5px 0;
	padding: 10px !important;
	border: 1px solid #e4e4e4 !important;
	background-color: #fff !important;
}
.redactor_editor_wym blockquote:before {
	content: '';
}
.redactor_editor_wym div {
	border: 1px dotted #aaa !important;
}
.redactor_editor_wym pre {
	border: 2px dashed #e4e4e4 !important;
	background-color: #f8f8f8 !important;
}
.redactor_editor_wym ul,
.redactor_editor_wym ol {
	padding-left: 2em !important;
}
.redactor_editor_wym ul li ul,
.redactor_editor_wym ul li ol,
.redactor_editor_wym ol li ol,
.redactor_editor_wym ol li ul {
	border: none !important;
}

/*
	TOOLBAR
*/
.redactor_toolbar {
	position: relative;
	top: 0;
	left: 0;
	margin: 0 !important;
	padding: 0 !important;
	padding-left: 2px !important;
	border: 1px solid #ddd;
	border-bottom-color: #b8b8b8;
	background: #fafafa;
	background: -moz-linear-gradient(top,  #fafafa 0%, #e5e5e5 94%, #d3d3d3 94%, #d3d3d3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(94%,#e5e5e5), color-stop(94%,#d3d3d3), color-stop(100%,#d3d3d3));
	background: -webkit-linear-gradient(top,  #fafafa 0%,#e5e5e5 94%,#d3d3d3 94%,#d3d3d3 100%);
	background: -o-linear-gradient(top,  #fafafa 0%,#e5e5e5 94%,#d3d3d3 94%,#d3d3d3 100%);
	background: -ms-linear-gradient(top,  #fafafa 0%,#e5e5e5 94%,#d3d3d3 94%,#d3d3d3 100%);
	background: linear-gradient(to bottom,  #fafafa 0%,#e5e5e5 94%,#d3d3d3 94%,#d3d3d3 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#d3d3d3',GradientType=0 );

	list-style: none !important;
	font-size: 0;
	font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
	line-height: 0 !important;

}
.redactor_toolbar:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: ".";
}
.redactor_box .redactor_toolbar {
	border: none;
	border-bottom: 1px solid #b8b8b8;
}
.redactor_toolbar.toolbar_fixed_box {
	border: 1px solid #ddd;
	border-bottom-color: #b8b8b8;
}
body .redactor_air .redactor_toolbar {
	padding-right: 2px !important;
}
.redactor_toolbar li {
	float: left !important;
	margin: 0 !important;
	padding: 1px 0 3px 1px;
	outline: none;
	list-style: none !important;
}
.redactor_toolbar li.redactor_separator {
	float: left;
	margin: 0 2px 0 3px !important;
	padding: 0;
	height: 29px;
	border-right: 1px solid #f4f4f4;
	border-left: 1px solid #d8d8d8;
}
.redactor_toolbar li a {
	display: block;
	width: 25px;
	height: 25px;
	outline: none;
	border: 1px solid transparent;
	text-decoration: none;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	zoom: 1;
	*border: 1px solid #eee;
}
.redactor_toolbar li.redactor_btn_right {
	float: none;
	float: right !important;
}
.redactor_toolbar li a {
	display: block;
	background-image: url();
	background-position: 0;
	background-repeat: no-repeat;
	text-indent: -9999px;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

	.redactor_toolbar li a {
		background-image: url();
		background-size: auto 25px;
	}

}
.redactor_toolbar li a:hover {
	outline: none;
	border-color: #98a6ba;
	border-color: rgba(162, 185, 208, .8);
	background-color: #d4dce9;
	background-color: rgba(176, 199, 223, .5);
}
.redactor_toolbar li a:active,
.redactor_toolbar li a.redactor_act {
	outline: none;
	border-color: #b5b5b5;
	background-color: #ddd;
}
.redactor_button_disabled {
	opacity: .3 ;
}
.redactor_button_disabled:hover {
	outline: none;
	border-color: transparent !important;
	background-color: transparent !important;
	cursor: default;
}

/*
	BUTTONS
	step 25px
*/
body .redactor_toolbar li a.redactor_btn_html				{ background-position: 0px; }
body .redactor_toolbar li a.redactor_btn_formatting		    { background-position: -25px; }
body .redactor_toolbar li a.redactor_btn_bold				{ background-position: -50px; }
body .redactor_toolbar li a.redactor_btn_italic			    { background-position: -75px; }
body .redactor_toolbar li a.redactor_btn_deleted		 	{ background-position: -500px; }
body .redactor_toolbar li a.redactor_btn_unorderedlist 	    { background-position: -100px; }
body .redactor_toolbar li a.redactor_btn_orderedlist   	    { background-position: -125px; }
body .redactor_toolbar li a.redactor_btn_outdent	 		{ background-position: -150px; }
body .redactor_toolbar li a.redactor_btn_indent		 	  	{ background-position: -175px; }
body .redactor_toolbar li a.redactor_btn_image		 		{ background-position: -200px; }
body .redactor_toolbar li a.redactor_btn_video		 		{ background-position: -225px; }
body .redactor_toolbar li a.redactor_btn_file		 		{ background-position: -250px; }
body .redactor_toolbar li a.redactor_btn_table		 		{ background-position: -275px; }
body .redactor_toolbar li a.redactor_btn_link		 		{ background-position: -300px; }
body .redactor_toolbar li a.redactor_btn_fontcolor		 	{ background-position: -325px; }
body .redactor_toolbar li a.redactor_btn_backcolor		 	{ background-position: -350px; }
body .redactor_toolbar li a.redactor_btn_alignleft		  	{ background-position: -375px; }
body .redactor_toolbar li a.redactor_btn_aligncenter		{ background-position: -400px; }
body .redactor_toolbar li a.redactor_btn_alignright		  	{ background-position: -425px; }
body .redactor_toolbar li a.redactor_btn_justify		 	{ background-position: -450px; }
body .redactor_toolbar li a.redactor_btn_horizontalrule 	{ background-position: -475px; }
body .redactor_toolbar li a.redactor_btn_underline		 	{ background-position: -525px; }

body .redactor_toolbar li a.redactor_btn_fullscreen		 	{ background-position: -550px; }
body .redactor_toolbar li a.redactor_btn_normalscreen		{ background-position: -575px; }
body .redactor_toolbar li a.redactor_btn_clips		 		{ background-position: -600px; }

body .redactor_toolbar li a.redactor_btn_alignment	 		{ background-position: -625px; }

body .redactor_toolbar li a.redactor_btn_fontfamily	 		{ background-position: -650px; }
body .redactor_toolbar li a.redactor_btn_fontsize	 		{ background-position: -675px; }

body .redactor_toolbar li a.redactor_btn_direction	 		{ background-position: -700px; }
body .redactor_toolbar li a.redactor_btn_lists		 		{ background-position: -725px; }
body .redactor_toolbar li a.redactor_btn_font		 		{ background-position: -750px; }

body .redactor_toolbar li a.redactor_btn_h1			 		{ background-position: -775px; }
body .redactor_toolbar li a.redactor_btn_h2			 		{ background-position: -800px; }
body .redactor_toolbar li a.redactor_btn_h3			 		{ background-position: -825px; }
body .redactor_toolbar li a.redactor_btn_quote		 		{ background-position: -850px; }
body .redactor_toolbar li a.redactor_btn_pre		 		{ background-position: -875px; }

/*
	Toolbar classes
*/
.redactor_format_blockquote {
	padding-left: 10px;
	color: #666 !important;
	font-style: italic;
}
.redactor_format_pre {
	font-family: monospace, sans-serif;
}
.redactor_format_h1,
.redactor_format_h2,
.redactor_format_h3,
.redactor_format_h4,
.redactor_format_h5 {
	font-weight: bold;
}
.redactor_format_h1 {
	font-size: 30px;
	line-height: 36px;
}
.redactor_format_h2 {
	font-size: 24px;
	line-height: 36px;
}
.redactor_format_h3 {
	font-size: 20px;
	line-height: 30px;
}
.redactor_format_h4 {
	font-size: 16px;
	line-height: 26px;
}
.redactor_format_h5 {
	font-size: 14px;
	line-height: 23px;
}


/*
	DROPDOWN
*/
.redactor_dropdown {
	position: absolute;
	top: 28px;
	left: 0;
	z-index: 2004;
	padding: 10px;
	width: 200px;
	background-color: #fff;
	box-shadow: 0 1px 5px #bbb;
	font-size: 13px;
	font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
	line-height: 21px;
}
.redactor_separator_drop {
	padding: 0 !important;
	border-top: 1px solid #ddd;
	font-size: 0;
	line-height: 0;
}
.redactor_dropdown a {
	display: block;
	padding: 3px 5px;
	color: #000;
	text-decoration: none;
}
.redactor_dropdown a:hover {
	background-color: #dde4ef;
	color: #444 !important;
	text-decoration: none;
}

/* MODAL */
#redactor_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 50000;
	margin: auto;
	width: 100%;
	height: 100%;

	background-color: #333 !important;
	opacity: 0.50;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter:alpha(opacity=50);
}

#redactor_modal {
	position: fixed;
	top: 50%;
	left: 50%;
  	z-index: 50001;
	padding: 0;
  	border-radius: 3px;
	background: #f5f5f5;
	box-shadow: 0px 5px 60px #000;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	font-size: 12px !important;
	font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;

}
#redactor_modal header {
	padding: 11px 30px 0 15px;
	border-radius: 3px 3px 0 0;
	font-weight: bold;
	font-size: 12px;
}
#redactor_modal section {
	padding: 20px 30px;

}
#redactor_modal_close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	height: 20px;
	color: #777;
	font-size: 20px;
	cursor: pointer;
}
#redactor_modal_close:hover {
	color: #000;
}
#redactor_modal label {
	display: block !important;
	float: none !important;
	margin: 10px 0 3px 0 !important;
	padding: 0 !important;
	font-size: 12px !important;
}
#redactor_modal textarea {
	display: block;
	margin-top: 4px;
}
.redactor_input  {
	width: 99%;
	font-size: 14px;
}
.redactor_modal_box {
	overflow: auto;
	margin-bottom: 10px;
	height: 350px;
}
#redactor_image_box {
	overflow: auto;
	margin-bottom: 10px;
	height: 270px;
}
#redactor_image_box_select {
	display: block;
	margin-bottom: 15px !important;
	width: 200px;
}
#redactor_image_box img {
	margin-right: 10px;
	margin-bottom: 10px;
	max-width: 100px;
	cursor: pointer;
}
#redactor_tabs {
	margin-bottom: 18px;
}
#redactor_tabs a {
	display: inline-block;
	margin-right: 5px;
	padding: 4px 14px;
	border: 1px solid #d2d2d2;
	border-radius: 10px;
	background-color: #fff;
	color: #000;
	text-decoration: none;
	font-size: 12px;
	line-height: 1;
}
#redactor_tabs a:hover, #redactor_tabs a.redactor_tabs_act {
	padding: 5px 15px;
	border: none;
	background-color: #ddd;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .4) inset;
	color: #777 !important;
	text-decoration: none !important;
	text-shadow: 0 1px 0 #eee;
}
#redactor_modal footer {
	padding: 9px 30px 20px 30px;
	border-radius: 0 0 3px 3px;
	text-align: right;
}

#redactor_modal input[type="radio"],
#redactor_modal input[type="checkbox"] {
	position: relative;
	top: -1px;
}
#redactor_modal input[type="text"],
#redactor_modal input[type="password"],
#redactor_modal input[type="email"],
#redactor_modal textarea {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 1px 2px;
	height: 23px;
	border: 1px solid #ccc;
	border-radius: 1px;
	background-color: white;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
	color: #333;
	font-size: 13px;
	font-family: Helvetica, Arial, Tahoma, sans-serif;
	line-height: 1;
	-webkit-transition: border 0.3s ease-in;
	-moz-transition: border 0.3s ease-in;
	-ms-transition: border 0.3s ease-in;
	-o-transition: border 0.3s ease-in;
	transition: border 0.3s ease-in;
}
#redactor_modal textarea {
	line-height: 1.4em;
}
#redactor_modal input:focus,
#redactor_modal textarea:focus {
	outline: none;
	border-color: #5ca9e4;
	box-shadow: 0 0 0 2px rgba(70, 161, 231, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
.redactor_modal_btn {
	position: relative;
	display: inline-block;
	margin-left: 8px;
	padding: 6px 16px 5px 16px;
	outline: none;
	border: 1px solid #ccc;
	border-bottom-color: #aaa;
	border-radius: 4px;
	background-color: #f3f3f3;
	background-image: -moz-linear-gradient(top, #ffffff, #e1e1e1);
	background-image: -ms-linear-gradient(top, #ffffff, #e1e1e1);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e1e1e1));
	background-image: -webkit-linear-gradient(top, #ffffff, #e1e1e1);
	background-image: -o-linear-gradient(top, #ffffff, #e1e1e1);
	background-image: linear-gradient(top, #ffffff, #e1e1e1);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
	color: #000;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0px #ffffff;
	font-weight: normal;
	font-size: 12px;
	font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
	line-height: 1;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e1e1e1', GradientType=0);
	cursor: pointer;
}
.redactor_modal_btn:hover {
	color: #555;
	background: none;
	background: #f3f3f3;
	text-decoration: none;
	text-shadow: 0 1px 0px rgba(255, 255, 255, 0.8);
	filter: none;
}


/* Drag and Drop Area */
.redactor_droparea {
	position: relative;
    margin: auto;
    margin-bottom: 5px;
    width: 100%;
}
.redactor_droparea .redactor_dropareabox {
	position: relative;
	z-index: 1;
    padding: 60px 0;
    width: 99%;
    border: 2px dashed #bbb;
    background-color: #fff;
    text-align: center;
}
.redactor_droparea .redactor_dropareabox, .redactor_dropalternative {
    color: #555;
    font-size: 12px;
}
.redactor_dropalternative {
	margin: 4px 0 2px 0;
}
.redactor_dropareabox.hover {
    border-color: #aaa;
    background: #efe3b8;
}
.redactor_dropareabox.error {
    border-color: #dcc3c3;
    background: #f7e5e5;
}
.redactor_dropareabox.drop {
    border-color: #e0e5d6;
    background: #f4f4ee;
}

/* =Progress
-----------------------------------------------------------------------------*/
#redactor-progress-drag {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 200px;
	margin-left: -130px;
	margin-top: -35px;
	z-index: 10000;
	padding: 30px;
	background: rgba(0, 0, 0, .7);
	box-shadow: none;
}
.redactor-progress {
	height: 12px;
	overflow: hidden;
	background-color: #f4f4f4;
	border-radius: 3px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
	margin-bottom: 1.5em;
}
.redactor-progress .redactor-progress-bar {
	top: 1px;
	left: 1px;
	position: relative;
	background-color: #55aaff;
	width: 0;
	height: 12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;

}
.redactor-progress-striped .redactor-progress-bar {
	background-image: url('');
}
.redactor-progress-striped .redactor-progress-bar:after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: url('');
}


